#include <winsock2.h>
#include "Dialog/RoomInfoPanel.h"

RoomInfoPanel::RoomInfoPanel() : m_channelInfo( NULL )
{
}

RoomInfoPanel::~RoomInfoPanel()
{
}

bool RoomInfoPanel::create( interfacelib::Window::LoadControl *loadControl, char *name )
{
	interfacelib::Window::LoadControl::ControlProperty *property = loadControl->getControlProperty( name );
	if ( property )
		Panel::create( property->resourceName, property->xpos, property->ypos , property->attribute );

	loadControl->loadChild( name, this );

	return ( true );
}